package org.example.diet_compass.mapper;

import org.apache.ibatis.annotations.Select;
import org.example.diet_compass.domain.Banners;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 86135
* @description 针对表【banners(轮播图表)】的数据库操作Mapper
* @createDate 2025-02-27 15:21:30
* @Entity generator.domain.Banners
*/
public interface BannersMapper extends BaseMapper<Banners> {
    @Select("SELECT * FROM Banners WHERE type = #{type}")
    List<Banners> selectBannersByType(Integer type);
}




